package com.engineering.elink.recruitdao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.engineering.elink.domain.recruit.CvdEwpAddress;

public interface CvdEwpAddressMapper {
    int deleteByPrimaryKey(Integer ewpId);

    int insert(CvdEwpAddress record);

    int insertSelective(CvdEwpAddress record);

    CvdEwpAddress selectByPrimaryKey(Integer ewpId);

    int updateByPrimaryKeySelective(CvdEwpAddress record);

    int updateByPrimaryKey(CvdEwpAddress record);
    
    @Select(" select ewp_id from cvd_ewp_address where cvd_id=#{cvdId} ")
    List<Integer> selectEwpByCvdIdList(String cvdId);

    int deleteBatch(List<Integer> ewpIdList);
}